Fix test with numpy 1.7.1 or python 3.3.0.

The error message changed.