[BUGFIX] Tests: Refactor log writer tests in ext:core