Session test fixed