add test demo, add cmake file