Adds tests for multisession handling.