Fixed tests and removed default logger.