Added tests for array-level operations