Sql scripts and unit tests