bugfix in integration test