modified application and integration test