fixing failed tests counter