Previously we only read the test class name from JUnit xml result. When the worker build fails prematurely, the JUnit xml result is not available. This PR fixes this issue by adding test class name to scenario list.
The problem is that TC returns a `text/html` HTTP response even when we explicitly set `Accept: application/json`. When this happens, the `NoClassDefFoundError` is expected because we excluded `xerces`.