strange error in travis could be fixed by using mongoose directly