controller: Fix bug in jobs test

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>