Test handling of < and > in <pre> tag

Fixes #755.
Test if reassigning .innerHTML results in null

Fixes #227.