Added create test for invalid posts