added associations test for trail model