added function revertChange, which reverts a single `change` item

plus added a small test