Add tests for array operation transformations.