BUG: tests were raising the DataConversionWarning

It appears that when warnings are raised once, they are not reraised
in the tests, thus triggering a failure for the test checking for these
warnings