began writing unit tests for the model and extending the controllers to truncate the database so it's easier to write the tests