This PR fixes TestFailuresPlugin.TestFailure.compareTo() as it seems that getName() was meant to be used.

This PR also polishes around it a bit.

Comment From: wilkinsona

Thanks very much, @izeye.