[#2510] [Tests] Add config test for overwriting None value
[#2510] Fix config type checking