Added an SQL test