fixed the app creating in the tests