add tests for the daemon options case