Add tests for lpi finish converting to use new graphs