fixed some tests for windows, fixed directory move event for windows