They have been tested by many people running them around the world for several years.
If you want to test them yourself, you can use the T-SQL RAISERROR function.
https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2008-r2/ms177497(v=sql.105)
]]>