Added test for issue #760; private_class_method :new raises exception.