throwing an exception if the app doesnt exist to fix a failing test