The extension for require method with rubygems affects this test case. We need to keep this test for the original method.