make tests work on TravisCI