Test job created with unknown status raises error