fix unit test for PostsReaderTest