Corrected bugs in robot tests