SET: Add test to avoid regression on bug #30682.