fix test (that is run only with nose)