tests: minor test refactor
tests: minor test refactor

visualjeff/csurf,alvarotrigo/csurf,brianfang/csurf,expressjs/csurf,YourDeveloperFriend/csurf,gabeio/csurf,cnuis2cool/csurf,scottymcribs/csurf,rdegges/csurf