Add regression test with ON/OFF TCP pattern.