finish webTestCases, and json_encode empty ajax arrays