Add forgotten field Total_posts
Fix a typo
Add some tests