Sort opts
Fix formatting.
Use postmortem for tests.
Make failing tests pass.