make tests pass on travis