Added some tests.
Improved generated content to make it more RDFa and ARIA compatible.
Fixed RDF issue (closes #302)