TST: checking explicitely for a warning
TST: checking explicitely for warning and silencing it