Small fix in endTest method signature