Fix tests for non-exported factorization type

ref. 4eb99fbd501b59fce35