Test repair