unit test for error handling in AbstractController implemented
method handleEntityNotFoundError implemented