added tests for the factor_list method (failing)