create test classes to test the controller