parser constructor. More tests for parseExpression.

Change-Id: I9f87a0243608527b9fce7f85936fdf653053bd7b