tweak test timings for window API to improve reliability on travis
Merge pull request #1402 from jnicklas/travis_window_timing

tweak test timings for window API to improve reliability on travis