Fixed failing test caused by changed scipy behaviour