fixed session tests