Add test for setting nil value