Update MongoDBHandlerTest.php

updated test to handle MongoDate object