Automagically enable the sql tests if possible