Added test for submitting a new post