Test preservation of script element with src attr