made controller test pass