repaired tests