Added small sessions helper test
Added some comments