add test for MulGen