[RFC v2 8/9] kunit: add tests for filtering attributes