Adds database connection.
Adds test insert query.