fixed networking issue, added windows test case