Tests and cigar parsing