tests: Inject test name also when the test fails