Write some test for validate process on config file