Testing using the flux architecture for distributed/client-server programs