Add tests for noncontig arrays