Fix a few tests, mock class method #2930
Fix a few tests, mock class method #2930

nyimbi/cartodb,nuxcode/cartodb,splashblot/dronedb,splashblot/dronedb,codeandtheory/cartodb,nuxcode/cartodb,DigitalCoder/cartodb,raquel-ucl/cartodb,bloomberg/cartodb,nuxcode/cartodb,codeandtheory/cartodb,CartoDB/cartodb,DigitalCoder/cartodb,dbirchak/cartodb,thorncp/cartodb,bloomberg/cartodb,future-analytics/cartodb,dbirchak/cartodb,dbirchak/cartodb,bloomberg/cartodb,nuxcode/cartodb,future-analytics/cartodb,codeandtheory/cartodb,dbirchak/cartodb,splashblot/dronedb,CartoDB/cartodb,DigitalCoder/cartodb,nyimbi/cartodb,bloomberg/cartodb,UCL-ShippingGroup/cartodb-1,codeandtheory/cartodb,nuxcode/cartodb,bloomberg/cartodb,raquel-ucl/cartodb,UCL-ShippingGroup/cartodb-1,DigitalCoder/cartodb,splashblot/dronedb,raquel-ucl/cartodb,future-analytics/cartodb,splashblot/dronedb,thorncp/cartodb,thorncp/cartodb,UCL-ShippingGroup/cartodb-1,CartoDB/cartodb,codeandtheory/cartodb,dbirchak/cartodb,nyimbi/cartodb,raquel-ucl/cartodb,nyimbi/cartodb,thorncp/cartodb,DigitalCoder/cartodb,raquel-ucl/cartodb,nyimbi/cartodb,future-analytics/cartodb,thorncp/cartodb,future-analytics/cartodb,CartoDB/cartodb,UCL-ShippingGroup/cartodb-1,CartoDB/cartodb,UCL-ShippingGroup/cartodb-1