Added session class and test (+ typo fixes)