1) Added Tests for categories.

2) Added Xml-Documentation for many interfaces.