Fixes and refactoring
- results no longer processed via XML handling but through xunit prefix (pytest built-in function)
- reduced code complexity
- formatting optimizations