Add test for defaults with nil value.