find a way to unit test the app