add test to see if daemon was restarted