create sql statements in helper class, some tests for database connection