Add tests for all missing parameters.

This commit adds tests for the parameters that were previously untested.
Most of this testing is light, but all parameters of the module are now
called at least once.  Generally we're testing the happy path, so these
need further work in future.
Fixes to various failing tests.
Move to stdlib 3.2.0, which shipped in PE 3.0.
Merge pull request #390 from apenney/add-more-tests

Add tests for all missing parameters.