Fixing assertion so it passes on windows
Merge pull request #673 from jyotisingh/build_fix

Fixing assertion in test so it passes on windows