Test if work with daemon mode