fix up e2e test code
this now only takes one parameter