Create unit tests for controllers