repair tests