fix sessions test