updated controller test