core: update Registry tests to make sure #keys doesn't load