Adding support and tests for multiple module handling in lli