Add static port rewrite test