New test for Registry::extract() method