fix xtest target - closes #520 - longer term fix at #519