Minor test-case cleanup.
Allow test subdirs; handle data- attrs, xml:lang