add basic tests for hasMany :through