Tests for RDFa attribute preservation

Probably should've written these first...

Change-Id: Id75c58b3db5b6b6f3c3ff6bea9c96976d44eeeff
Merge "Tests for RDFa attribute preservation"