Make lint happier than ever.
Add tests for stats#sum. Close #23