Bugfix and Compile
run test program