added session tests