Added tests for #add_post