Better to use assertEquals() here. (And throughout the rest of this code, for similar assertions.)