Make jasmine tests independent of any content in local MongoDB

We sometimes get Jasmine test failures on Travis that don't happen locally, generally because content in the local MongoDB is required to make the test pass; we don't want *any* dependency on MongoDB content in the Jasmine tests. This pull request tries to address that by breaking the default MongoDB connection during the test setup.