add test script for *nix and windows.