Fixed tests for Numpy<1.6