added agent restart test for windows.