Add test for array operations.