adding a mock backend and tests for the config
fixing some singleton and test issues
Merge pull request #10 from cjhubert/config-tests

Adding mock backend and tests