Removed some uses of the deprecated assertEquals