tests: fixes session handler test [Closes #22]