Fix bad method call in integration tests.