Create classes for hstore store test inside tests

Setting table name to postgresql_hstores will fail for DBs other than
PG, so it's best to set them only if test is running (ie. only when DB
is PG).