Refactor spec and rename clean_up to remove_asset_from_pages