A UDF built for failure testing