integ_value error case corrected with test