add test for _mark_assets