Removing db dependency in PostsController unit test