fixes #2614

documentation is updated

fixed oldvalue assignment

some editings

enhanced test method

fixes #2614

fixed oldvalue assignment

some editings

enhanced test method