Determine the path of the test by looking for it in the stacktrace, so we can allow for test cases as well as standalone tests