TYPOC-15 add tests for getSession