Automated tests debugging