add session toString method
stricter and more descriptive end-to-end tests