add test for missing type
add bash scripts for testing running examples