fix tests broken on travis