Fixes basic daemon test, closes #185