Fixed breaking tests in streaming checkpoint suite. Changed RichInt to Int as it is final and not serializable