update to fail if key/value is required in nonregistered file
fix tests added in 4bdf5d5
housekeeping