Add spec for state.addStatusObjects()
Add spec for state.setState() and unsetState()