test database connection details from properties