Generalize scaling functional test