Adding unit tests for config