Expression string representation.
Added test for expressions, fixed a few bugs.