test output values for 2d arrays
(#552)