Allow testing with jenkinsapi api