Checkstyle the AllTests test + minor bug fix