GROOVY-6546: fixed test cases

This PR fixes/cleans up test cases related to the JSON parser refactorings.