Fixed test that fails on negative number inputs.