fix test for mage1.5