passing get_first_half_of_string test