adding test, test stub and implementation of a trait for validating configuration keys
fixing exception message
changing to validate off of the key validator trait