Try fixing the tests by mocking the application