Benchmark studies of the gyro-Landau-fluid code and gyro-kinetic codes on kinetic ballooning modes