Updated jobqueue to support new config model, added tests