add unit test for form post json
ApiControllerTest fails test