adding match winner definition and tests