Test of a forest dynamics simulator in New Zealand