config class and test file for it