Add unit tests for controllers and models.