added array testcase