add sampling test scripts for windows
add 2 stage appveyor config back
fix directory test