added output checking for codegen tests
impala main in codegen tests now returns bool
fixed codegen/* tests
fixed examples/* tests