Okay, I was just using the pattern used in many of the other tests in order to make it more reliable, those helper functions seem to work better than manually managing things myself.