Added a beforeEach step to test runner, and refactored Logger Tests.