fix controller test.