remove MSVC check codes
add mytest for testing
remove other platforms support codes and add test program