Add better specs for self referential many_to_many

The new specs expose a bug in the current code and
therefore one of the specs had to be marked pending
for now.