test for creating new post