Testing reduce by key