Beam tuning and bunch length measurement in the bunch compression operation at the cERL