Fix tests for non-exported factorization type