Added tests files for controller