Add Config class and add one more test