Test function get_speaks_offsets