Added tests for post callback.