Add filter to trim down a list by the return code of a test script.