Fix duplicate test case name that lead to a crash on Rubinius

Extracted from #1733