Add unit test to check behaviour for changing an non-existent state.
Add unit test to check behaviour for changing an non-existent state.

gatzka/cjet,mloy/cjet,mloy/cjet,mloy/cjet,mloy/cjet,gatzka/cjet,gatzka/cjet,mloy/cjet,gatzka/cjet,gatzka/cjet