Change code to behave as docs say, using stat instead of stats
Fix test as well
Merge pull request #3 from tjltjl/stats->stat

Stats >stat