Completed basic unit tests - 5 for each function.  Need to think how else I can test them for OK/FAIL conditions.