Tests for [hasManyThrough]