Put callback function within class in SiteConfigurationTest