Added tests for post