TECH: add some much needed tests to the generation of ApiObjectDoc instances.