Event logger unit test

Note: this is my first unit test (not for Astron, just for life in general), so don't expect this to be good code, but if this is useful, yay!