Add default port for link

Add links unit test file