fix test port variable