integration test fixed