test code for parallel joins over distributed systems