Test added for editing a post