Test swapping styles dynamically