update of robot test code