testing with sessions