Registry Unittest