errhandler test; fix issue #61