fix test for rule ignore, add test for TLAttribute