(PUP-2561) Fix spec test on windows
Merge branch 'pr/2650' into stable

* pr/2650:
  (PUP-2561) Fix spec test on windows