Add a GroovySanity check to see if tests are running with correct Groovy version and JDT patch. Also fix some tests.