#1791: Add unitest for elasticsearch node client to support both string and array which helps a lot for elasticsearch clients balance