added an app note to UML and some new functions to help make testing easier