Add single-use test method

Add minor comments and some test cases
stopIfErrs test case

Minor commenting