Adding test cases for BlogPosts

Adding test cases for BlogPosts that check if a object has a valid member, a valid content and a valid date before insert.