test of courage; putting one's courage to the test
Refers to an act or situation where one's bravery is challenged, often deliberately.
As a test of courage, he walked alone through the graveyard at midnight.
それは単なる度胸試しだった。
It was just a test of courage.