I think @carlosantoniodasilva is saying that we don't need this test since it is not asserting any behaviour. We don't add tests to assert that warnings are not raised.

I agree that we don't need it.