fixed integration tests.