Added test for subexpressions