fixed broken integration test