Add very basic test and fix offset error with getPercentileForUrl.