Add comments to test_scan explaining the magic 20 loops.