Testing AdapterTrait executeQuery