Replacing fullname and simplename by just one attribute (classname).
Refactoring code to latest output scheme changes.
Adapting unit tests due to latest output scheme changes.
Adding test case for output generation with an index attribute.
Adding test case for name attribute of output elements.
Refactoring the output scheme.
Adapting latest output scheme changes.
Adapting latest output scheme changes to unit tests.