Monitors all minor changes in the main namespace using the IRC recent changes feed
Checks if the diff matches a pre-defined list of common test edits and makes sure it doesn't include a large amount of other content to reduce false positives
Reverts the edit the user made if it seems likely to be a test edit
Warns the user on their talk page, or reports the user to WP:AIV if they have received sufficient warnings