Fixing issue where tests would fail on TravisCI because of window