tests: Export session from functional/helpers.lua
test/job: Implement some basic jobs tests.