Created tests for creating new posts