added test case for array operators