profiles controller test