Add LinearTerm. Test objective and constraint expressions.