Added worker_registry_tests

Just added a few tests for the worker registry class.