Added array operations test cases.