Adjusted tests to be compartible with current branch of numpy for PyPy