fixed so the test can be run without the app running