Fixed test routine for CADE lab machines.