update package.json to use tv4 instead of jjv
move Program definition to the root
add updated simple tests