added tests for unit and controller, TDD'd model and unit controller