test to reproduce error seen on registry
fix for not requiring required fields
don't shadow imported missing variable
Merge pull request #277 from wardi/master

fix for required fields validation bug