added the calculation of the master_score based on the binlog delay in the case of a master crash
basic testing framework