add regression test for rubygems 2.0 heuristic fix