add tests case for session without documents