Tests for parser combinators