added test for post method, fixed post parameter error , ref #81