fix reference error in integration tests