localspl/tests: Add test for ConfigurePortW.