States are now constants
webmock is only needed during tests
added one missing test: do not update entry if not changed