modified tests to work with older versions of scipy; loosened 'assertAlmostEqual' in test_robustness