Added a test for lib/session/index