test with session.