added test to show a display of posts