Wrote port test