Added Test classes for controller class