[TEST] Add an assert for null indices in InternalEngineIntegrationTest