Merge pull request #33185 from AnandBaburajan/asset_last_day_test_bug

fix: use is_last_day_of_the_month in test_scrap_asset