Testing displaying posts. Setting validations for title and url.