Add tests for ProcessorRegistry.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>