Fix Bill Moseley's double-auto bug, and add tests
-rw-r--r-- Changes
-rw-r--r-- MANIFEST.SKIP
-rw-r--r-- Makefile.PL
drwxr-xr-x lib
drwxr-xr-x script
drwxr-xr-x t