First test case for write post usecase.