Apparently string split takes in a regex, not just a plain old string.  As a result, have to double escape special pipe character.
Test prints which all nodes were leaders during a particular term.