parameterized array test.