improve test results filtering