Initial test of daemon mode. Related to issue #71.