add test: porting python