implemented environment equivalency testing, to be used in undo/redo tests