Fix logger tests