update for running tests on travis-ci (#4643)