Make the tests pass with local dtd file
Add function to know if we can add new object
Some rename
Cleanup the function to add/create element