Tests for the parser