fix test teardown
implement registries