This might be challenging to test considering the `delete-on-exit` behavior.