Given the fugly performance hack

Adding tests as penance. I did this manually, but I suppose it does belong in the real suite, and it's good to be systematic about it.