Added integration test for array index creation