Added ports unit test