Add test case for updating date type field.