fixed integration test in the test app