Added test for post_controller