Remove unused settings in tests