Fixes session test