Fixed compiler warnings in test programs by adding includes directives.
Fixed compiler warnings in test programs by adding return statements.
Fixed compiler warnings in test program by using wrapped functions.