adding test for Registry