added cloudbees infrastructure and modified tests