Added testing code for GAM standardization.