fixed issue with test on travis