added port as parameter for IV test