added log_sql_to_file helper (for Andrey)
speed up tests by creating and dropping the DB in the added layer