Added checks for incorrect usage of innerHTML. Fixes #1370

The majority of other tests in this file are using double quotes, I was just being consistent with the file, but I have no objection to single quotes, so changed in latest.