fixing some problems with tests in Travis (hopefully)