fix: call to filter_metadata intead filter, avoid double deletion in global_teardown