Add tests for globalUserTask
Add missing closing tag for scriptTask
Add tests for globalScriptTask