added unit test for delete_undef_values()