test: add a test for remapping dead pids

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>