more tests and implements basic function to compare distribute  versus non distributed.