add test for MongoDB.php