trying to fix unit test failing on travis only