Added test for ChangeVar effect. Also javadocs for all variable-related classes