Fixed broken subgen test