fix to run testing on travis correctly