Smog test: Car not holding revs

Guys,

My 2003 B6 is having problems getting through the UK fast idle smog test. The car is revved up to 2500 has to be held at this rpm for 30s. The problem is that the revs keep on climbing beyond 2500 and if you try and modulate the throttle all revs drop off.

The car has deleted pre-cats and 100 cell sports cats. It also throws the following codes on a regular basis:

17522 - Oxygen (Lambda) Sensor; B1 S2: Internal Resistance too High
P1114 - 008 - Implausible Signal

16524 - Oxygen (Lambda) Sensor B1 S2: No Activity
P0140 - 004 - No Signal/Communication

The sensors themselves were replaced due to the same set of codes but did not make any difference. In summary does anyone have any ideas how ot maintain revs or is the problem related to the codes.

Thanks in advance