Adding session.test for tests