Add tests for array expander