Added test code. Fixed ComparableEarthquake to use magnitude.