failing test for reduce