Also adds simple tests for correct table creation.
Adds also tests for the new function to execute a SQL script.