Add a few more test cases; general test file cleanup.

Note: Major change is moving everything into a try/finally
so the filter mmap files aren't left lying around when the suite fails.
This makes local testing a bit nicer because one doesn't have to
rm -rf /tmp/*.mmap between test failures.