automatically diagonose a broken test