OpenOffice.org is too fat and too weird to let you simply apply your standard unit-testing-approach to writing correct code. Over the years, this has lead to the creation of a number of mechanisms within the OOo code base with which OOo developers can test the code they write and compile.