Add rich unit test.