fixed registry init() and improved test coverage of registry and captcha
Merge pull request #124 from GaryA/master

fixed registry init() and improved test coverage of registry and captcha