added unit tests to controllers
typo