Fix timing issue between $scope and editor loading

Revise tests for loading additionalParams

Remove unneeded script