A sample test program to see how this works