Update development dependencies
Update spec to ensure object state is correct

* Ensure state is correct post update
* Ensure state of the object returned for `previous_state` is correct