AUI-1566 Create unit test for stripScripts