Share the same base registry for unit tests.

Closes #429.