Added some new tests that works with MongoDB.