Custom error handlers (403, 404, 500)

+ test app refactoring