Session test: set correct session handler