[#1094] Remove config values set to null, add unit test for such behaviour.