jasmine testing, bowling algorithms and mongoose/mongo