Use new form for assertAlmostEqual.
Speed up slow test.
Get latest submodules.
Tidy up Python formatting.