added distributed tests; 'all', 'majority', 'any'