Corrected words in comments of test programs.
Removed unused parameter in test program.
Removed unused variable from test program.
Changed test program to be more compatible C.