Using logger.info instead of print. Some test fails