TestCase: fixed outputing of test methods json array