fixed spec for delete_undef_values()