Added test unit for the controller
Create a unit test controller