Enabled xmldoc as error for the testing library

Enabled xmldocs warning as error and made most types internal