Test CortxRegistry

Introduce first test for CortxRegistry.