Here’s an example that should be pretty short:
github.com/ThinkboxSoftware/Dea … FilterJobs
As far as reports, you won’t need them as the LogInfo() and print() calls will just got straight to standard output.
For getting the test job, use RepositoryUtils.GetJob("[some job id]").