refactor feature test for new post