mock out scipy