moved db connection to setUpBeforeClass to suppress PgSql's error.