added controller test