session tests almost complete