Test error handling with new WebStub