Basic test for session initialization