Correct oversight error in test_shear.py