Add checks for null shortname in compareTo method of TestResultsId private class