added more tests for controllers