Test to make sure that a pid is saved.