Remove unnecessary document test
Add comments to private methods of Document class
Test document node difference when removing nodes
Test script paths as well as stylesheets
Shorten Node tests
Merge branch 'minor-improvements'