added test for set_name