Add first test for _init_daemon method