User `assertEqual` instead of the deprecated `assertEquals` in test code.