test fixed

Corrections to the MongoDB Test and travis yml