Move bits from jenkins script to test settings