I resolved this by changing the spec to not dump out the current session. I'll delete the function entirely (it's not hard to reimplement so there's no point in keeping it).