Adds a test for create-post