session parameters test and method added

sessions parsing method and test updated