fixed user controller test case