Testing Map Reduce Code