[TEST] Fix indexed script test.