Added additional test around require option for validating file. Rename the KeyRequireError to NoKeyFoundError