DTD declarations and test cases implemented