test for Fix for value storage corruption  (IDEA-132488)