Added CLI example and check for successful sending