Add test for data-stats
Fix typo