Added scripts for start up of mongodb on travis ci. Added db config. updated tests