Added session test helper.