porting tests