Add JobTemplate unit tests.