formatting
all-posts function and related tests
integration test for posts