Added tests to users on controllers