Reducer tests fixed