TST: add tests for algos.factorize (GH6212)