Add unit tests for config.json and statistics.js