There weren't many in the Bible, either. Only two were said to be both just and righteous: Lot and Noah. Here are their biblical credentials:
God ... delivered just Lot, vexed with the filthy conversation of the wicked: (For that righteous man dwelling among them, in seeing and hearing, vexed his righteous soul from day to day with their unlawful deeds;) 2 Peter 7:8
Noah was a just man and perfect in his generations, and Noah walked with God. Genesis 6:9
And the LORD said unto Noah, Come thou and all thy house into the ark; for thee have I seen righteous before me in this generation. Genesis 7:1
The Bible doesn't say much else about these two, except that:
Noah, the just and righteous, got drunk after the flood and lay around naked in his tent. When his son Ham happened to see his father in this condition, Noah cursed not Ham, who supposedly saw Noah naked, but his grandson Canaan and all of Canaan's descendants with slavery. Genesis 9:20-25
So don't feel bad if you failed the test. Who would want to join a club with members like that?