Here are a number of pages containing test cases for checking the operation of Grail with both valid and invalid HTML. Each test document (ideally :-) describes the intentions of the text and how Grail should interpret the contents of the document.
ID
Attribute