remove dependency on scipy in test script