Add a way to use webtest to do the tests