I documented defaults, but relied on the code

to handle them correctly.  No surprise that it did not.  I added the
defaults, and adjusted the stubs in these two unit tests to keep them
from breaking with NaN errors.