porting xs test