Revision 0.0.1.2 - Moved test program into it's own function