Added some more test coverage to lightweight-dom's tests.