Add source[T] to JobTest for more flexible tests.

ISSUE 412