add some test examples on cygwin
change test snippet