testing parsing combinator in scala