tweak test timings for window API to improve reliability on travis