Rajarshi Janak himself took the his test.
He was angry at Shankha's son Agha
Sage Ashtavakra is known to tell the truth. He used to reveal the truth as he experienced it. Sage Ashtavakra preferred the truth derived from personal experiences. He used to say that the truth is not in any book. There may be rules and principles in a book, but it is not true. Nor is there knowledge in the texts. The light of knowledge remains inside a human being.
The sage Ashtavakra composed the book called Ashtavakra Gita, which contains his similar thoughts. He came to know the truth of dharma by his own specific style and defined it in this way. The sage Ashtavakra did not accept to follow the traditions. He started new traditions. His entire life is a source of inspiration.