Add spec tests to the config class

Prior to this commit we did not have and spec tests for our config class
This commit adds support for our spec tests for the config class