merge algorithm test code between EventLoop and Athena
So far the algorithm test sequence was duplicated between EventLoop and Athena. Keeping them in sync was needlessly error-prone, so I now merged them.
This is mirroring what has been already done and reviewed for the e-gamma algorithm, so the basic structure should not need further review.
I purposely broke this up into multiple commits, one per package to make future sweeping, etc. easier, so please don't click the squash commits button.