A snippet of code that fails at automated testing with Jasmine, for illustration of mongoose's circular dependencies