test_largest_factor.py: Changed expected error for some bad values.