Testsing will be a a non trivial issue in this case, but I don't see a simple solution that would give some posibility to tests that automaticily.
My idea for testsing was to do two things tests the interface of the classes, which I try to do in this moment - prepare a test for each method and see if dose at least work with simple cases and after that it would be the best thing to prepare seperate unit cases that tests concreate functionality, for example the annotation handling.
I had an idea to prepare a schema file (xsd) and add the xjc pluging which would generete the mapped classes in other to found out what actually works.
First observation, it would be wise to switch the dependant version of the Castor XML from 1.3.2 to 1.3.3,
that would provide the support for the STaX and (javax.xml.transform) Source/Result.