Instead of copying this code, pull the helper function verifyValueAfterChanged out and use it in both test methods.