Finished Stats package unit tests. Fixes #53.