Fix use case test for creating a post