fix scan command, add Win tests