Added tests for is_decreasing