@sjakobi I just took the functions that were already used in most of the tests and modified it.  I honestly don't know why they use the form given here, as tests that I've used in the past are of the form that you've given.  I'll wait and hopefully learn something new when someone more experienced comments.