VX(Li): Add ZQM factory and its unit tests.