Fixed some minor things.
Added tests for AddLabel and ChangeLabelTest actions.