Improved tests and added static method that returns a list of loggers.