added passing unit tests and css to style the list of posts