Add session.tst diagnostic trace