But the fact that the LDS church believed and preached that African blood was inferior to others and cursed by God (source) tells me something quite different. We are asked to believe that that very fact is our trial of faith; that we cannot understand why God waited for so long to admit that races are equal in His eyes. We just don't have answers. "His ways are not our ways."
...Which is my point exactly; would it not have made so much more sense for God to try the believers' faith with the unpopular but correct doctrine at the beginning, rather than ask them to ignore that the false doctrine was preached in His church for over a century?