Add test for new post generator