fixes 2602 - scoped_search error when using postgresql
funcational tests - changed ConfigTemplate.first to config_templates(:pxekickstart)