tests for post controller
Merge remote-tracking branch 'origin/master'