fixed controller test