[filter plugin] state attribute wrong if test failed in before hook
If a part of a test suite fails during the before hook, the test will be reported as "active skipped". This should rather be "failed" in this case, to allow the toolchain to re-run all failed tests if needed.