Adjust tests to avoid error in different numpy version