Added tests for controller and backup service