Move email tests to Lib/test package and modernize test runner machinery
54 files changed