Moved Account entity into Model namespace, added test cases for AbstractController.