Fail if state cannot be determined.
Test case for sessionKey option.