Valid configuration

we keep the truth of the configuration into store. we should valid the configuration using that piece of information.
Similarly, TestValidateConfigurationChange