riched20/tests: Add more tests.