testing retrieving data from MongoDB