Fixes to various failing tests.
Move to stdlib 3.2.0, which shipped in PE 3.0.