Fix test for running errands when only one errand exists

Signed-off-by: Zachary Auerbach <zak@zaksoup.com>