Add test to ensure PostgreSQL lock is released after block executes
Add test to ensure PostgreSQL lock is released after block executes

mceachen/with_advisory_lock,mceachen/with_advisory_lock,ClosureTree/with_advisory_lock