Mocking of all course routes
Wrong indentation
Error handler for 500, not used atm