Add put_session_cookie in test case to setup connections