added test for creating an invalid post by remove the body