ScriptRuntimeTest: refactor to have feature index as a parameter
Add ScriptRuntimeTest.enumChangeObject()