add ChartTest.cpp
convert find result to a shared ptr