Fixed order of expectations in tests
Improved coverage of Violation::getSeverityName()