Change `assertEqual` to `assertIsNone`