Added new test classes, written tests for them and regenerated documentation.