added test_upside_deviation and PASSED