Certain values must be observed by judges. Anything that may blur the judge's fairness should be avoided whether anger, fear, etc. Rulings have to be based on the Quran, and Sunnah, unanimity, Ijtihad, or a fatwa by a qualified Mufti.
Osoul Global Center
Giving testimony pertaining to the rights of human beings is a collective duty, witnesses must not refuse when they are called in. it is an obligation if one is summoned to testify which confirms Islam's protection of rights.
Islam has established rulings pertaining to testimony to insure achieving justice and eliminate the possibility of favoritism or oppression. Islam considers perjury as a cardinal sin. The article discusses this in detail.
Linguistically speaking, fasting means abstention from something. In an Islamic context, it means intentional abstention from eating and drinking, as well as all that invalidates fasting, from the break of dawn until sunset with the intention of worshipping Allah.