Update test scripts to work with undivided test data files
Remove obsolete test files
Fix second <html> tag handling
Add more jsDoc for ElementStack