refactors tests with posts.yml