Refactor JenkinsProjectManager tests