Add tests for self-referential models (See #173).