ticket:6 add test for ajax POST work