Fix tests by applying browser layers.