Added another config test, and changed the config functionality so that if a key is not found an exception is raised