fixed #3 and added tests for session get request