Tests for the session handler
Reverted order of atoms in request handler