Apply config, fix test