Finally working port test