controller test for association