add ignore exception handler tests, minor fix in ignore exception handler