Updated JobManager test to create collection and update index in order
Updated travis CI to build mongodb extension