Add rudimentary stats tests.