Add unit tests for dynamic classes
Rename test function to test_thematic_doctype

For consistent capitalisation