Test finally with good sql