Unit test for annotated jobs