largest_factor.py: Refactored integer test.