** Fixed test sql scripts