fix failing test on travis