Range.prototype.test = function(version) {
  if (!version)
    return false;

  if (typeof version === 'string')