Test removing scipy dependency