Added logic that pushes inner element class to top container (fixes #1).
Added cobertura code coverage report generation.