add test.cpp
Merge pull request #2 from shishu/feature_001

add test.cpp