Session handler test