checkpatch: add tests for the attribute matcher