Fix vector out of bounds in script tests