added context manager to use the dummy_app in an easy way in our tests