I would like to test that the state returned now is equal to the one returned earlier