Changed all Exceptions to RuntimeExceptions because that really is what they are. Added missing test to EnvironmentSpec to cover a config misspelling case.