Modified test_Factor according to the changes in Factor.