Remove extraneous variable added by mistake and add some update tests.