Change the RateStat.equals(..) method to work with deserialized RateStats Update and fix the JUnit tests for both