Test send function in example