Solid session testing

For unit testing, there are already some threads in this forum: