testing suppress_error decorator