modified controller test