tests repair