Add tests when updating property