added session integration tests