fixing typos
Tests failed in Windows. Changed test to be platform independent.