fixed configuration_spec.rb to correctly reset and set variables