Add (failing) stats tests.
Fix get stats.
Merge pull request #28 from mapbox/stats

Stats tests