BS-11296 Fix validation on Expression Viewer Constant + add test +
uncomment and complete test on document refactor.