Get basic tests working, refactor OpenPGPEmailParser a bit