Should there be a test where the registry information is malformed JSON? It's just another error condition, but may be worth having a test for it just in case.