Add unittests for anonymize == True

This is work in progress for Tahoe trac ticket 1010
https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1010