Updates superscript_formatting test

Superscript formatting test needed a different check to test
effectively, this commit updates the check to look for the presence of
the whole injected script and expect not to find the result of the
script execution.