testing: fix tests so they will run on travis