It's not so much "different behavior", it's different tests.  It just skips some tests if Sub::Name isn't available.  Not something that Devel::Hide would be used for.  It could be split into a separate test file but I'm not sure I see the point.