Domain, controller and unit tests