Modify test to work with small limits

Previous test would calculate negative new limits when original limits
were small.
See bug 675