added test case for POST.