add test for associate-card