fixed syntax error in http
using expectations for jobs_test
some iniitial stuff for scheduler (written too long ago, don't know what it is..)
making job-tests a bit more readable