add egg test

After first error, good calls will not call the error handler or any
other handler