Add tests for inline subexpressions