tests for registry#initialize