factor suite runloop body into function, consistent naming of unit test variables