xpm test add expect support