unit test port change