Set up unit tests (stats and cmd), and modified gitignore to ignore test data