Add a CommNullPasser metaclass to testing.py...

that applies the `comm_null_passes` decorator to every method in a class.

Also, rearrange testing.py a bit and remove the old usages of `@comm_null_passes`.
Remove a couple of unused imports.