Tests for through relationships