tests for detect port and slight regex changes