user and session testes