* Upgrade dependencies and update referential integrity queries * Update GitHub workflow to run tests
* Add checks to validate referential integrity * Add unit tests for referential integrity validation * Use EXISTS in referential integrity validation queries