Fix test by correcting the order in the output file
Update to checkstyle 6.0 and correct the file size assertions.