fix: removed duplicated code.
#7 feat: BuilderRegistryConfigTest
#7 feat: added missing unit tests.