port test for script-src 1.9 from php tests
streamlining these missed files in with next PR
create async test, whitespace fixup
Merge pull request #1156 from imelven/imelven/csp-tests-script-src-1_9

port test for script-src 1.9 from php tests