[WIP][DD-833] updated PNX schema test + move db reset to ResourceTest