test that newValue is defined, take 2