Added tests for ProcessScript method