added test for set_names