session lookup tests