}).then((res) => {
			t.pass('Successfully re-enrolled "webAdmin" user with the request for attributes');
			checkoutCertForAttributes(t, res.certificate, true, 'myattrib');
			checkoutCertForAttributes(t, res.certificate, true, 'dfattrib');

			return caService.reenroll(webAdmin, []);
		}).then((res) => {
		}).then((res) => {
			t.pass('Successfully re-enrolled "webAdmin" user');
			checkoutCertForAttributes(t, res.certificate, false, 'myattrib');
			checkoutCertForAttributes(t, res.certificate, true, 'dfattrib');

			t.equal(typeof res.key !== 'undefined' && res.key !== null, true, 'Checking re-enroll response has the private key');
			t.equal(typeof res.certificate !== 'undefined' && res.certificate !== null, true, 'Checking re-enroll response has the certificate');

			return caService.reenroll(webAdmin, [{name:'myattrib', require : true}]);
		}).then((res) => {
		}).then(() => {
			t.pass('Successfully registered "auditor" of role "client" from "webAdmin"');

			return caService.reenroll(webAdmin);
		}).then((res) => {