Fix config in test env