Hi Hal,
In case it adds to what you figured it out, I've added the script that I use to clear out old anonymous tests to the Admin script section of the wiki, http://webwork.maa.org/wiki/Contributed_Admin_Scripts_%28Large_Installations%29 . I run it daily, and have it log how many users and tests were involved before deleting the tests.
Gavin
WeBWorK Main Forum
Guest login / gateway exam
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day