bugfix smp session closing
bugfix tests when mars enabled