Adding registry unit test