This is a sub-issue of #5150. The goal is to increase the code coverage of pinot-spi to at least 75%.