Add assertChanges

Here was what I ended up with for `assertChanges`.  Looking for feedback before landing.

cc @tkaemming