Add loggers to test classes