daemon: fix unittest compilation when SQLite is disabled
Merge pull request #37 from rohieb/patch/tests

daemon: fix unittest compilation when SQLite is disabled