Fix rest tests failures on Windows platform

Those tests need more sleep time to pass on Windows.