add cpp test samples

Signed-off-by: walker-zheng <mykulou@gmail.com>