Added test for sessions
Merge pull request #84 from mex/session-test

Adds test for sessions