Fix windows test
Fix windows stdin buffer test failure