Added test for subexpressions

#123