add tests for execution errors for session_test