added test for get_name() function for user