#1128 Blog posts API: Fixed loading of contentId and updated tests