Add test case for set default value