Tests with dependency injection working
Async tests passing
Refactored ajax and added error handling
Refactored quote function