refactor tests a little
simplify job class logic

also support sourceContent better