Fix configuration in test