Add test for PostController