Fixed unittest for windows systems