add tests for daemon loop sendResults processing