fix up tests for genport