added array method test.