fix controller test