test for update() function as well as changed()