bugfix for xtmtest macro