Add basic unit testing for PostService.