Revert "Add failing test for the has_many through case"

This reverts commit 0c83f6b938aff4e5a11ab8cbeff5d73985e59457.