Add unit test for parseExpression