No idea yet how to test this. Porting done based on porting instructions and comparing code.
@graesslin @alex