fixed spec tests for windows