HH-47330 add tests for DEFAULT_ERROR_CALLBACK