Added methods to Response object for create tests
Small refactoring, migrate functions between Application and Response