webengage: port to new test api

/cc @ianstormtaylor